package com.meizhuang.entity;

import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;

public class ShoppingCart implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer offsetProductId;

    private Integer offsetProductUid;

    private String offerProduct;

    private Integer uid;

    private Integer num;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    private Date updateTime;

    private Integer status;

    private String keyWord;

    public Integer store;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOffsetProductId() {
        return offsetProductId;
    }

    public void setOffsetProductId(Integer offsetProductId) {
        this.offsetProductId = offsetProductId;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getOffsetProductUid() {
        return offsetProductUid;
    }

    public void setOffsetProductUid(Integer offsetProductUid) {
        this.offsetProductUid = offsetProductUid;
    }

    public String getOfferProduct() {
        return offerProduct;
    }

    public void setOfferProduct(String offerProduct) {
        this.offerProduct = offerProduct;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    public Integer getStore() {
        return store;
    }

    public void setStore(Integer store) {
        this.store = store;
    }
}
